package com.netsmart.util;

import java.util.UUID;

public class RandomUtil {

	public  static int getFourRandom(){
		
		return (int)Math.random()*9000+1000;
	}
	
	public static String getUUIDRandom(){
		return UUID.randomUUID().toString().replace("-", "").replaceAll("[a-zA-Z]", "");
	}
	
	public static int getIdRandom(){
		int a=Integer.parseInt(RandomUtil.getUUIDRandom().substring(0, 4));
		return a+RandomUtil.getFourRandom();
	}
	
}
